package org.example;

import org.apache.commons.io.IOUtils;
import org.example.util.ImageApp;

import java.io.FileInputStream;
import java.io.InputStream;

public class Main {
    public static void main(String[] args) throws Exception {

        InputStream inputStream = new FileInputStream("C:/Users/zkd/Desktop/2.jpg");
        byte[] bytes = IOUtils.toByteArray(inputStream);
        new ImageApp(bytes);
    }
}